package com.coderman.common.model.business;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;

/**
 * MyBatis Generator工具自动生成2023/01/10
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("")
@Table(name = "`c_employee`")
public class Emp {
    @Id
    @Column(name = "`empId`")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @ApiModelProperty("")
    private Integer empid;

    @Column(name = "`empName`")
    @ApiModelProperty("")
    private String empname;

    @Column(name = "`sex`")
    @ApiModelProperty("")
    private String sex;

    @Column(name = "`age`")
    @ApiModelProperty("")
    private Integer age;

    @Column(name = "`birthDate`")
    @ApiModelProperty("")
    private String birthdate;

    @Column(name = "`identityCard`")
    @ApiModelProperty("")
    private String identitycard;

    @Column(name = "`moblie`")
    @ApiModelProperty("")
    private String moblie;

    @Column(name = "`nativePlace`")
    @ApiModelProperty("")
    private String nativeplace;

    @Column(name = "`currentResidence`")
    @ApiModelProperty("")
    private String currentresidence;

    @Column(name = "`deptId`")
    @ApiModelProperty("")
    private Integer deptId;

    @Column(name = "`hiredate`")
    @ApiModelProperty("")
    private String hiredate;

    /**
     * 1：代表大专
            2：代表大学本科
            3：代表研究生硕士
            4：代表研究生博士

     */
    @Column(name = "`educationBackground`")
    @ApiModelProperty("1：代表大专            2：代表大学本科            3：代表研究生硕士            4：代表研究生博士            ")
    private Integer educationbackground;

    @Column(name = "`graduationSchool`")
    @ApiModelProperty("")
    private String graduationschool;

    @Column(name = "`major`")
    @ApiModelProperty("")
    private String major;

    @Column(name = "`resumeInformation`")
    @ApiModelProperty("")
    private String resumeinformation;

    /**
     * 1：代表在职
            2：代表离职
            3：代表开除
            4：代表其他
     */
    @Column(name = "`empStatus`")
    @ApiModelProperty("1：代表在职            2：代表离职            3：代表开除            4：代表其他")
    private Integer empstatus;

    @Column(name = "`remarks`")
    @ApiModelProperty("")
    private String remarks;
    @TableField(exist = false)
    private transient String departmentName;
}
